package com.ruoyi.system.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.SysAuditConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysAuditConfigMapper extends BaseMapperPlus<SysAuditConfigMapper, SysAuditConfig, SysAuditConfig>
{

    public List<SysAuditConfig> getAuditConfig(SysAuditConfig config);

    public List<SysAuditConfig> getNextAudit(@Param("level") Integer level,@Param("auditCode") String auditCode);

    public List<SysAuditConfig> getAuditParent(@Param("parentId") String parentId,@Param("auditCode") String auditCode);

}
